using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using clf.weighing.entity;

namespace weighing
{

    /// <summary>
    /// 物资分类
    /// 数据条数:4
    /// 数据大小:16KB
    /// </summary>


    public class MaterialCategoryVo : BaseVo
    {
        #region Constract
        public MaterialCategory mMaterialCategory;
        public MaterialCategoryVo(MaterialCategory materialCategory)
        {
            mMaterialCategory = materialCategory;
        }
        #endregion


        /// <summary>
        /// 可空:NO
        /// </summary>

        public Int64 Id { get { return mMaterialCategory.id; } set { mMaterialCategory.id = value; OnPropertyChanged(this, nameof(Id)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String Name { get { return mMaterialCategory.name; } set { mMaterialCategory.name = value; OnPropertyChanged(this, nameof(Name)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String FirstCase { get { return mMaterialCategory.firstCase; } set { mMaterialCategory.firstCase = value; OnPropertyChanged(this, nameof(FirstCase)); } }

        /// <summary>
        /// 注释:数量
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int32? ChildrenCount { get { return mMaterialCategory.childrenCount; } set { mMaterialCategory.childrenCount = value; OnPropertyChanged(this, nameof(ChildrenCount)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public DateTime? Addtime { get { return mMaterialCategory.addTime; } set { mMaterialCategory.addTime = value; OnPropertyChanged(this, nameof(Addtime)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public Int64? AddUserId { get { return mMaterialCategory.addUserId; } set { mMaterialCategory.addUserId = value; OnPropertyChanged(this, nameof(AddUserId)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String AddUserName { get { return mMaterialCategory.addUserName; } set { mMaterialCategory.addUserName = value; OnPropertyChanged(this, nameof(AddUserName)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String AddUserCompany { get { return mMaterialCategory.addUserCompany; } set { mMaterialCategory.addUserCompany = value; OnPropertyChanged(this, nameof(AddUserCompany)); } }

        /// <summary>
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int32? IsDelete { get { return mMaterialCategory.isDelete; } set { mMaterialCategory.isDelete = value; OnPropertyChanged(this, nameof(IsDelete)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public DateTime? DeleteTime { get { return mMaterialCategory.deleteTime; } set { mMaterialCategory.deleteTime = value; OnPropertyChanged(this, nameof(DeleteTime)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public Int64? SyncTime { get { return mMaterialCategory.syncTime; } set { mMaterialCategory.syncTime = value; OnPropertyChanged(this, nameof(SyncTime)); } }

        /// <summary>
        /// 注释:属性 1 企业 10政府
        /// 可空:NO
        ///默认值:1
        /// </summary>

        public Int32 Belong { get { return mMaterialCategory.belong; } set { mMaterialCategory.belong = value; OnPropertyChanged(this, nameof(Belong)); } }

        /// <summary>
        /// 注释:所属公司
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int64? AffiliatedCompanyId { get { return mMaterialCategory.affiliatedCompanyId; } set { mMaterialCategory.affiliatedCompanyId = value; OnPropertyChanged(this, nameof(AffiliatedCompanyId)); } }

    }
}
